import Layout from '@/layout'
export default {

  path: '/departments',
  component: Layout,
  // 设置二级路由的组件中的内容显示在父组件中
  children: [
    {
      path: '', // 写空 默认匹配父路由
      name: 'departments',
      component: () => import('@/views/departments/departments.vue'),
      meta: { title: '组织架构', icon: 'dashboard' }

    }
  ]

}
